// Application.h : main header file for the Application
//
#pragma once

// CWinField:
// See WinField.cpp for the implementation of this class
//
#include "Field.h"
#include <string>
#include <XMLFoundation.h>
using namespace std;

class CWinField : public CField,public XMLObject
{
public:
	CWinField();
	~CWinField();

private:
	GString m_type;
    GString m_text;
    GString m_controlName;
    GString m_controlClass;
    GString m_controlID;
public:
	GString GetType() const;
	void SetType( GString nType );
    GString GetText() const;
	void SetText( GString nText );
	GString GetControlName() const;
	void SetControlName( GString nControlName );
    GString GetControlClass() const;
	void SetControlClass( GString nControlClass );
	GString GetControlID() const;
	void SetControlID( GString nControlID );

public:
	virtual void MapXMLTagsToMembers();
    DECLARE_FACTORY(CWinField, WinField)
};